package com.ruoyi.system.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

@Data
@Schema(description = "待执行任务")
public class PendingTask {
    @Schema(description = "任务ID")
    private Long taskId;
    @Schema(description = "任务详情ID")
    private Long taskDetailId;
    @Schema(description = "任务名称")
    private String taskName;
    @Schema(description = "任务类型")
    private Integer taskType;
    @Schema(description = "任务类型名称")
    private String taskTypeName;
    @Schema(description = "任务优先级")
    private Integer taskPriority;
    
    // 包信息
    @Schema(description = "包名称")
    private String packageName;
    @Schema(description = "应用名称")
    private String appName;
    @Schema(description = "包版本")
    private String packageVersion;
    @Schema(description = "包类型")
    private String packageType;
    @Schema(description = "包大小")
    private Double packageSize;
    
    // 执行选项
    @Schema(description = "强制退出应用")
    private Boolean forceQuitApp;
    @Schema(description = "自动重试")
    private Boolean autoRetry;
    @Schema(description = "覆盖已存在的文件")
    private Boolean overwriteExist;
    
    // 时间信息
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "计划执行时间")
    private Date scheduledTime;
}